﻿using System.Windows.Navigation;
using Prism.Commands;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using YJTTool.MainWindow.ViewModels;
using YJTTool.MainWindow.Views;

namespace YJTTool.MainWindow
{
    public class MainWindowModule : IModule
    {
        IRegionManager _regionManager;
        public MainWindowModule(IRegionManager regionManager)
        {
            _regionManager = regionManager;
        }
        public void OnInitialized(IContainerProvider containerProvider)
        {
            
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<NavigatePageView>();
        }
    }
}